Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

470
Views
How to view Unity method implementations in VSCode "Jump To Definition"?

I have a friend using JetBrains Rider and when he uses Jump To Definition (F12) he can see the method signature and implementation! I tried installing Rider but it is not yet supported on my ARM64 Mac. Is there anyway I can view Unity method implementations using VSCode or VSCode Insiders?

For example, if I have the following call, I click Translate

transform.Translate(Vector3.forward * Time.deltaTime * zSpeed);

Then I press F12, which opens Transform.cs but only shows the method headers. The implementations are missing

// Summary:
//     Moves the transform by x along the x axis, y along the y axis, and z along the
//     z axis.
//
// Parameters:
//   x:
//
//   y:
//
//   z:
//
//   relativeTo:
public void Translate(float x, float y, float z);

// comments removed for brevity...
public void Translate(float x, float y, float z, [DefaultValue("Space.Self")] Space relativeTo);

// comments removed for brevity...
public void Translate(Vector3 translation);

// comments removed for brevity...
public void Translate(Vector3 translation, [DefaultValue("Space.Self")] Space relativeTo);

// comments removed for brevity...
public void Translate(float x, float y, float z, Transform relativeTo);

// comments removed for brevity...
public void Translate(Vector3 translation, Transform relativeTo);

Any help is greatly appreciated!


Per a comment, I tried Cmd+F12

cmd-f12

But then it says "no implementation found"

no-implementation

I'm stuck!

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I enabled the following options in my C# plugin for VSCode. Thanks for the pointer, Karl-Johan Sjögren.

csharp extension settings

decompilation roslyn analyzers

Now when I press F12 on transform.Rotate(Vector.forward) for example, decompilation support allows me to see

transform.Rotation

This is very beneficial and helps me understand the how Unity handles rotations in different spaces. Also I can begin to understand complex Quaternion.Euler knowing how the familiar translate.Rotate uses it internally. The same is true for things like transform.Translate

transform.Translate

For example, if I didn't know I could directly manipulate position before, now I know transform.Translate is a means of doing just that. Being able to get this information at the click of a single button is a game-changer when you compare it to the alternative of alt-tabbing to your browser and doing a text-based search, spending minutes navigating to a specific section of code.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!